import { createRouter, createWebHistory } from "vue-router";
import TodoList from '../components/TodoList.vue'
import TheWelcome from '../components/TheWelcome.vue'

const router = createRouter({
  history: createWebHistory()
  routes: [
    {path:'/', name:'home', component:TodoList},
    {path:'/about', name:'about', component:TheWelcome}
  ]
})
export default router